package com.car.loan.project.cd.domain.bo;

import com.car.loan.project.cd.domain.vo.CreditAlbumVo;
import com.google.common.collect.Lists;
import io.swagger.annotations.ApiModelProperty;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author huangding
 * @description
 * @date 2019/10/29 19:16
 */
@Data
public class CreditApplyInfoUpdateBo {

    @ApiModelProperty(value = "id", required = true)
    private Long id;

    @ApiModelProperty(value = "银行id", required = true)
    @NotNull
    private Long bankId;

    @ApiModelProperty(value = "部门id", required = true)
    @NotNull
    private Long deptId;

    @ApiModelProperty(value = "业务员id", required = true)
    @NotNull
    private Long adminId;

    /**
     * 客户姓名
     */
    @ApiModelProperty(value = "客户姓名", required = true)
    @NotNull
    private String name;

    /**
     * 客户证件类型 1=身份证
     */
    @ApiModelProperty(value = "客户证件类型 1=身份证 ,当前只有身份证", required = true)
    @NotNull
    private Integer idType;

    /**
     * 客户证件号码
     */
    @ApiModelProperty(value = "客户证件号码", required = true)
    @NotNull
    private String idCardNo;

    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号", required = true)
    @NotNull
    private String mobile;

    @ApiModelProperty("业务员备注")
    private String remark;

    @ApiModelProperty("照片,新增的id为空")
    private List<CreditAlbumVo> images = Lists.newArrayList();

    @ApiModelProperty("视频，新增的id为空")
    private List<CreditAlbumVo> videos = Lists.newArrayList();

    @ApiModelProperty(value = "1=保存 2=提交",required = true)
    @NotNull
    private Integer operatorStatus;
}
